home *** CD-ROM | disk | FTP | other *** search
/ Freelog Special Edition 10 / FreelogHS10.iso / Buzz / Buzz_Advanced_Pack.exe / {app} / Dev / skin.txt < prev    next >
Text File  |  2001-08-27  |  1KB  |  31 lines

  1.  
  2.  
  3. Adding skins to your machines is quite easy. Just add these resources to your machine dll:
  4.  
  5. Resource type    name        description
  6.  
  7. Bitmap        "skin"         bitmap for the machine, size must be 100x50
  8. Bitmap        "skinled"    "led on" patch bitmap (if not given, default led is used)
  9. "position"    "skinledpos"    x and y coordinates inside skin bitmap for the led on bitmap (two bytes)
  10. "color"        "textcolor"    machine name text color (3 bytes, RGB) (optional, defaults to black)
  11.  
  12. notes: 
  13.  
  14. -quotes ("") are important in the above names!
  15. -The panning bar goes from 2,38 to 97,47 inclusive. Make sure your skin design accounts for this
  16. -font is between y=20 and y=30
  17.  
  18.  
  19. Some advices:
  20.                 
  21. - use 256 color bitmaps to save memory
  22. - led can be redrawn quite often so keep it small
  23. - if you want all your machines to use same bitmap, do not include same bitmap in each dll. 
  24.   instead create another dll and add following resource to your machine dlls:
  25.     
  26. Resource type    name        description
  27.  
  28. "asciiz"    "skinref"    name of skin dll (for example "Geonik's Skin.dll")
  29.  
  30. this dll should be installed to Buzz\Gear\Skins dir. 
  31.